package servlet;

public class CheckRand extends BaseServlet{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8538076142868886263L;
	
	public void service() throws Exception{
		String rand = request.getParameter("rand");
		if(getSession().getAttribute("Rand").equals(rand)){
			response.getWriter().write("{\"success\":true}");
		}
	}
}
